import http from '@/utils/http';

export const save = data => http.post({
  url: '/assetsLb/save',
  data,
});

export const getList = params => http.get({
  url: '/assetsLb/getList',
  params,
});

export const remove = params => http.get({
  url: '/assetsLb/remove',
  params,
});

export const getAssetsLb = params => http.get({
  url: '/assetsLb/getAssetsLb',
  params,
});

export const updateZt = params => http.get({
  url: '/assetsLb/updateZt',
  params,
});

export const exportExcel = params => http.get({
  url: '/assetsLb/exportExcel',
  params,
  responseType: 'blob',
});

export const exportExcelAll = params => http.get({
  url: '/assetsLb/exportExcelAll',
  params,
  responseType: 'blob',
});

export const getExpire = params => http.get({
  url: '/assetsLb/getExpire',
  params,
});

export const getAuditCount = params => http.get({
  url: '/assetsLb/getAuditCount',
  params,
});
